import React from 'react';
export default class Exam extends React.Component{
    constructor(props){
        super();
        if(props.fill===undefined){
            this.state={
                fill:"#5393eb"
            }
        }
        else{
            this.state={
                fill:props.fill
            }
        }
        
    }
    UNSAFE_componentWillReceiveProps(prop){
        if(prop.fill===undefined||prop.fill===""){
            this.setState({
                fill:"#5393eb"
            })
        }
        else{
            this.setState({
                fill:prop.fill
            })
        }
    }
    render(){
        return(
            <svg id="模拟考"  fill={this.state.fill}  xmlns="http://www.w3.org/2000/svg" width="34.648" height="38.933" viewBox="0 0 34.648 38.933">
                <path  id="路径_930" data-name="路径 930" className="cls-1" d="M51.24,35.938H45.375a3,3,0,0,1-2.995-2.995V5.99a3,3,0,0,1,2.995-2.995H66.338A3,3,0,0,1,69.333,5.99V13.37l2.995-2.995V5.99A5.99,5.99,0,0,0,66.338,0H45.375a5.99,5.99,0,0,0-5.99,5.99V32.943a5.99,5.99,0,0,0,5.99,5.99h4.867l1-2.995Zm18.093-5.626v2.631a3,3,0,0,1-2.995,2.995H63.707L61.948,37.7,58.24,38.933h8.1a5.99,5.99,0,0,0,5.99-5.99V27.317l-2.995,2.995Z" transform="translate(-39.385)"/>
                <path  id="路径_931" data-name="路径 931" className="cls-2" d="M425.865,463.95l-.56.56-2.117,6.352,6.354-2.117.559-.559Zm5.293,3.176L442.8,455.479a1.5,1.5,0,0,0,0-2.117l-2.117-2.119a1.5,1.5,0,0,0-2.117,0L426.922,462.89l4.238,4.238Z" transform="translate(-408.595 -433.665)"/>
                <path id="路径_932" data-name="路径 932" className="cls-1" d="M236.308,239.3h17.969v-2.995H236.308Zm0,5.99h17.969V242.3H236.308Zm0,5.99h11.979v-2.995H236.308Z" transform="translate(-228.821 -227.324)"/>
            </svg>
            );
    }
}